import {createStore,combineReducers,compose,applyMiddleware}  from 'redux';
import product from './product'
import storage from './storage'
import thunk from 'redux-thunk'
const rootReucer= combineReducers({
    product,
    storage
})
export default createStore(rootReucer,compose(applyMiddleware(...[thunk])));